package org.snail.attendence.bean;

import com.alibaba.druid.util.StringUtils;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import lombok.ToString;
import lombok.extern.log4j.Log4j;
import org.snail.config.CustomDateSerializer;

import java.io.Serializable;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Date;

/**
 * ali工时
 * Created by WJ on 2017/11/13.
 */
@Data
@ToString
@Log4j
public class AttendenceCommonDO implements Serializable{
    private Integer id;              //考勤主表id
    private Integer empId;          //关联人员主键
    private String employeeName;   //姓名
    //部门
    private String department;
    private String aliNumber;
    private String dateStr;        //这个是为了注解
    //考勤日期
    @JsonSerialize(using = CustomDateSerializer.class)
    private Date attendanceDate;
    //班次
    private String orders;
    //上班1_打卡时间
    private String punchTime1;
    //上班1_打卡结果
    private String punchComment1;
    //下班1_打卡时间
    private String punchTime2;
    //下班1_打卡结果
    private String punchComment2;
    //上班2_打卡时间
    private String punchTime3;
    //上班2_打卡结果
    private String punchComment3;
    //下班2_打卡时间
    private String punchTime4;
    //下班2_打卡结果
    private String punchComment4;
    //关联的审批单
    private String approval;
    //跟新时间
    private Date updateTime;
    //部门DU
    private String du;

    private int rest;


}

